home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Developer Helper 1: Phil & Dave's Excellent CD
/
Excellent CD HFS.raw
/
Utilities
/
Apple File Exchange
/
AppleFile Exchange Translator
/
ExampleTrans
/
Example.a
< prev
next >
Wrap
Text File
|
1989-04-13
|
1KB
|
53 lines
;
;_____________________________________________________________________
;
; File: Example.a
;
; Copyright 1986,1987 by Apple Computer, Inc. All Rights Reserved.
;_____________________________________________________________________
;
; EXAMPLE TRANSLATION ROUTINE HEADER FOR APPLE FILE EXCHANGE
;
; Written by Karl B. Young
;
;_____________________________________________________________________
;
; Revision History
;
; 16-Jul-87 1.0A1 KBY New today
;
;_____________________________________________________________________
;
; The file provides the required header for a translator.
;
;_____________________________________________________________________
;
PRINT OFF
INCLUDE 'Traps.a'
INCLUDE 'ToolEqu.a'
INCLUDE 'QuickEqu.a'
INCLUDE 'SysEqu.a'
INCLUDE 'SysErr.a'
PRINT ON
MAIN
IMPORT TranStr ; this is the procedure name of the Pascal code
;_______________________________
;
; HEADER
;
;_______________________________
STRING ASIS
jmp TranStr ; branch to Pascal Code
dc.l 'tran' ; signature
dc.w 4000 ; resource number (decimal)
dc.w 1 ; my version number
STRING PASCAL
dc.w '1.0A1' ; ASCII version of version
dc.l $0000FFFF ; Indicates we support all calls
dc.l 0 ; Reserved
ENDMAIN
end